import request from '@/utils/request'

//分页查询短视频信息
export function videoPage(data) {
  return request({
    url: '/sys/offlineShortVideo/page',
    method: 'post',
    data: data
  })
}
// 修改短视频信息
export function videoedit(data) {
  return request({
    url: '/sys/offlineShortVideo/edit',
    method: 'put',
    data: data
  })
}

// 新增短视频信息
export function videoAdd(data) {
  return request({
    url: '/sys/offlineShortVideo/add',
    method: 'post',
    data: data
  })
}

//根据id删除短视频信息
export function videoRemove(data) {
  return request({
    url: '/sys/offlineShortVideo/remove',
    method: 'delete',
    data: data
  })
}

